package com.xiaoyu.lingdian.vo;

import java.util.List;
import com.xiaoyu.lingdian.entity.CoreAttachment;
import com.xiaoyu.lingdian.entity.CoreRideActive;
import com.xiaoyu.lingdian.vo.BaseVO;
import com.xiaoyu.lingdian.tool.DateUtil;

public class CoreRideActiveVO implements BaseVO {

	/**
	*标识UUID
	*/
	private String crraeUuid;

	/**
	*标题
	*/
	private String crraeTitle;

	/**
	*内容
	*/
	private String crraeContent;

	/**
	*价格
	*/
	private String crraeValue;

	/**
	*累计报名人数
	*/
	private Integer crraeCount;

	/**
	*创建日期
	*/
	private String crraeCdate;

	/**
	*修改日期
	*/
	private String crraeUdate;
	
	/**
	*附件详情
	*/
	private List<CoreAttachment> list;
	
	/**
	*可获得积分
	*/
	private Integer khdScore;

	/**
	*报名状态:1已报名2已付款3已取消4已完成5未报名
	*/
	private Integer crraeStatus;
	
	public void setCrraeUuid(String crraeUuid) {
		this.crraeUuid = crraeUuid;
	}

	public String getCrraeUuid( ) {
		return crraeUuid;
	}

	public void setCrraeTitle(String crraeTitle) {
		this.crraeTitle = crraeTitle;
	}

	public String getCrraeTitle( ) {
		return crraeTitle;
	}

	public void setCrraeContent(String crraeContent) {
		this.crraeContent = crraeContent;
	}

	public String getCrraeContent( ) {
		return crraeContent;
	}

	public void setCrraeValue(String crraeValue) {
		this.crraeValue = crraeValue;
	}

	public String getCrraeValue( ) {
		return crraeValue;
	}

	public void setCrraeCount(Integer crraeCount) {
		this.crraeCount = crraeCount;
	}

	public Integer getCrraeCount( ) {
		return crraeCount;
	}

	public void setCrraeCdate(String crraeCdate) {
		this.crraeCdate = crraeCdate;
	}

	public String getCrraeCdate( ) {
		return crraeCdate;
	}

	public void setCrraeUdate(String crraeUdate) {
		this.crraeUdate = crraeUdate;
	}

	public String getCrraeUdate( ) {
		return crraeUdate;
	}

	public List<CoreAttachment> getList() {
		return list;
	}

	public void setList(List<CoreAttachment> list) {
		this.list = list;
	}

	public Integer getKhdScore() {
		return khdScore;
	}

	public void setKhdScore(Integer khdScore) {
		this.khdScore = khdScore;
	}

	public Integer getCrraeStatus() {
		return crraeStatus;
	}

	public void setCrraeStatus(Integer crraeStatus) {
		this.crraeStatus = crraeStatus;
	}

	public CoreRideActiveVO( ) { 
	}

	@Override
	public void convertPOToVO(Object poObj) {
		if (null == poObj) {
			return;
		}

		CoreRideActive po = (CoreRideActive) poObj;
		this.crraeUuid = po.getCrraeUuid();
		this.crraeTitle = po.getCrraeTitle();
		this.crraeContent = po.getCrraeContent();
		this.crraeValue = po.getCrraeValue();
		this.crraeCount = po.getCrraeCount();
		this.crraeCdate = po.getCrraeCdate()!=null?DateUtil.formatTimesTampDate(po.getCrraeCdate()):"";
		this.crraeUdate = po.getCrraeUdate()!=null?DateUtil.formatTimesTampDate(po.getCrraeUdate()):"";
	}
//<=================定制内容开始==============
//==================定制内容结束==============>

}